package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_MED_PURCH database table.
 * 
 */
@Entity
@Table(name="YZR_MED_PURCH")
@NamedQuery(name="YzrMedPurch.findAll", query="SELECT y FROM YzrMedPurch y")
public class YzrMedPurch implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="PURCH_ID")
	private String purchId;

	@Temporal(TemporalType.DATE)
	@JSONField(format = "yyyy/MM/dd")
	@Column(name="PURCH_ARRIIVAL_DATE")
	private Date purchArriivalDate;

	@Column(name="PURCH_AUTDIT")
	private BigDecimal purchAutdit;

	@Column(name="PURCH_AUTDIT_STATE")
	private String purchAutditState;

	@Temporal(TemporalType.DATE)
	@JSONField(format = "yyyy/MM/dd")
	@Column(name="PURCH_AUTDIT_TIME")
	private Date purchAutditTime;

	@Column(name="PURCH_MAKEPEOPLE")
	private BigDecimal purchMakepeople;

	@Column(name="PURCH_REMARK")
	private String purchRemark;

	@Column(name="PURCH_STATE")
	private String purchState;

	@Column(name="PURCH_TITLE")
	private String purchTitle;

	@Temporal(TemporalType.DATE)
	@JSONField(format = "yyyy/MM/dd")
	@Column(name="PURCH_ZD_TIME")	
	private Date purchZdTime;

	public YzrMedPurch() {
	}

	public String getPurchId() {
		return this.purchId;
	}

	public void setPurchId(String purchId) {
		this.purchId = purchId;
	}

	public Date getPurchArriivalDate() {
		return this.purchArriivalDate;
	}

	public void setPurchArriivalDate(Date purchArriivalDate) {
		this.purchArriivalDate = purchArriivalDate;
	}

	public BigDecimal getPurchAutdit() {
		return this.purchAutdit;
	}

	public void setPurchAutdit(BigDecimal purchAutdit) {
		this.purchAutdit = purchAutdit;
	}

	public String getPurchAutditState() {
		return this.purchAutditState;
	}

	public void setPurchAutditState(String purchAutditState) {
		this.purchAutditState = purchAutditState;
	}

	public Date getPurchAutditTime() {
		return this.purchAutditTime;
	}

	public void setPurchAutditTime(Date purchAutditTime) {
		this.purchAutditTime = purchAutditTime;
	}

	public BigDecimal getPurchMakepeople() {
		return this.purchMakepeople;
	}

	public void setPurchMakepeople(BigDecimal purchMakepeople) {
		this.purchMakepeople = purchMakepeople;
	}

	public String getPurchRemark() {
		return this.purchRemark;
	}

	public void setPurchRemark(String purchRemark) {
		this.purchRemark = purchRemark;
	}

	public String getPurchState() {
		return this.purchState;
	}

	public void setPurchState(String purchState) {
		this.purchState = purchState;
	}

	public String getPurchTitle() {
		return this.purchTitle;
	}

	public void setPurchTitle(String purchTitle) {
		this.purchTitle = purchTitle;
	}

	public Date getPurchZdTime() {
		return this.purchZdTime;
	}

	public void setPurchZdTime(Date purchZdTime) {
		this.purchZdTime = purchZdTime;
	}

}